package com.hm.base.service;

import java.util.List;

import com.hm.base.su.BaseConfig;
import com.hm.base.vo.RoleVo;
import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageParam;

/**
 * @author shishun.wang
 * @date 上午11:57:59 2017年6月5日
 * @version 1.0
 * @describe
 */
public interface RoleService {

	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/base/RoleService/"
			+ BaseConfig.HttpInvokerEndpoing.VERSION;

	public List<RoleVo> loadAllRoles();

	public PageInfo<RoleVo> query(PageParam pageParam, String name);

	public void addRole(RoleVo vo);

	public void updateRole(RoleVo vo);

	public void deleteRole(List<Long> roleIds);

	public RoleVo getRole(Long roleId);

}
